package com.bee.portal.service.sm;

import java.util.List;
import java.util.Map;

import com.bee.base.service.BaseService;
import com.bee.portal.domain.sm.Organization;

public interface OrganizationService extends BaseService<Organization> {

	/**
	 * 通过父节点获取有效的组织结构列表
	 * 
	 * @param parentSid
	 * @return
	 */
	public List<Map<String, Object>> findOrg(Long parentSid);

	/**
	 * 通过父节点获取有效的组织结构列表展开
	 * 
	 * @param parentSid
	 * @return
	 */
	public List<Map<String, Object>> findOrgEx(Long parentSid, Boolean checked);

}
